package com.skynet.backend.auth.sys.dao;

import com.skynet.backend.auth.sys.entity.SysUserRoleEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper()
public interface SysUserRoleDao extends BaseDao<SysUserRoleEntity>{

    /**
     * 根据用户ID，获取角色ID列表
     */
    List<Long> queryRoleIdList(Long userId);

}
